package com.fshuqing.learing.spring.applicationcontext;

import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;

@Component
public class SpringContextAwareImpl implements SpringContextAware {

    @Override
    public void setApplicationcontext(ApplicationContext applicationAcontext) {
        this.applicationContext = applicationAcontext;
    }

    private ApplicationContext applicationContext;
}
